package com.mydemo.design_pattern.structure_type.proxy_pattern.jdk;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: RealSubject, v1.0 2019-09-19 11:28 liming1 Exp $
 */
public class RealSubject implements Subject {

    @Override
    public String name() {
        System.out.println("我是小明");
        return "小明";
    }

}
